package com.example.design.shejimoshi.action.strategy.spring01;

import com.example.design.shejimoshi.action.strategy.spring01.dto.ExecutorDTO;

/**
 * <E> 必须是ExecutorDTO的子类, 控制实现了LinkExecutor的子类的getById方法的出参和executor方法的入参
 * @param
 */
public interface LinkExecutor <E extends ExecutorDTO>{

    E getById(Long id);

    Boolean executor(E e, Object trggerDetail);
}
